import React from 'react';
import {
  StyleSheet,
  View,
  Text,
  Image
} from 'react-native';

const App=() => {
  return (
    <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
      <Image source={require("./images/img.jpg")} style={{borderRadius:20,width:400,height:250,marginBottom:100}}></Image>
          <Text style={[styles.txt,styles.txt2]}>哈哈哈哈哈哈哈</Text>
    </View>
  );
};

const styles = StyleSheet.create({
  txt:{
    color:"#ff2d51"
  },
  txt2:{
    fontSize:30
  }
});

export default App;